module Base
{

/*******VRO Salvage Returns and GiveXP*******/

/************************ Doors ************************/

	craftRecipe SalvageVehicleDoors
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
	    
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Military or Large Doors ************************/

	craftRecipe SalvageLargeVehicleDoors
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:5,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsArmourLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Trunk Doors ************************/

	craftRecipe SalvageVehicleTrunkDoors
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Hoods ************************/

	craftRecipe SalvageVehicleHoods
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Military or Large Hoods (Armor) ************************/

	craftRecipe SalvageVehicleArmor
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:25,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsArmourLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

	craftRecipe SalvageWoodenVehicleParts
	{
		timedAction = SawLogs,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Woodwork:5,
		SkillRequired = Woodwork:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsWooden,
		
		inputs
		{

			item 1 tags[Saw] mode:keep flags[MayDegradeLight;Prop1],
		}
		outputs
		{
		}
	}

/************************ Gas Tank ************************/
	
	craftRecipe SalvageVehicleGasTanks
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

	craftRecipe SalvageVehicleGasTanksSmall
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmall,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Mufflers ************************/

	craftRecipe SalvageVehicleMufflers
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsMufflers,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
	
/************************ Suspension ************************/

	craftRecipe SalvageVehicleSuspension
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSuspension,
		
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
	
/************************ Brakes ************************/

	craftRecipe SalvageVehicleBrakes
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmall,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Seats ************************/

	craftRecipe SalvageVehicleSeats
	{
		timedAction = RipClothing,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Tailoring:5,
		SkillRequired = Tailoring:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsFabrics,
		
		inputs
		{

	       item 1 tags[Scissors;SharpKnife] mode:keep flags[IsNotDull;MayDegradeLight],
		}
		outputs
		{
		}
	}

/************************ Tires ************************/

	craftRecipe SalvageVehicleTires
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsTires,
		
		inputs
		{

	       item 2 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Misc Salvage Small bar parts ************************/

	craftRecipe SalvageVehicleBars
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSuspension,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Salvage Fabrics/SaddleBags ************************/

	craftRecipe SalvageVehicleSaddlebags
	{
		timedAction = RipClothing,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Tailoring:5,
		SkillRequired = Tailoring:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLeathers,
		
		inputs
		{

	       item 1 tags[Scissors;SharpKnife] mode:keep flags[IsNotDull;MayDegradeLight],
		}
		outputs
		{
		}
	}

	craftRecipe SalvageHardVehicleSaddlebags
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSuspension,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/******************* Salvage SoftTops ************************/

	craftRecipe SalvageVehicleSoftTops
	{
		timedAction = RipClothing,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Tailoring:5,
		SkillRequired = Tailoring:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSoftTops,
		
		inputs
		{

	       item 1 tags[Scissors;SharpKnife] mode:keep flags[IsNotDull;MayDegradeLight],
		}
		outputs
		{
		}
	}

/******************* Salvage Vehicle Containers and Panels ************************/

	craftRecipe SalvageVehiclePanelsSmall
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmall,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
	
/******************* Salvage Large Container Tanks ************************/

	craftRecipe SalvageLargeContainerTanks
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Misc electrics ************************/

	craftRecipe SalvageVehicleElectronics
	{
		timedAction = Welding,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmallElectrics,
		
		inputs
		{

	       item 2 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
}